<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SARibbon: SARibbonCategory::PrivateData类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="SA-logo.png"/></td>
  <td id="projectalign">
   <div id="projectname">SARibbon<span id="projectnumber">&#160;2.4.2</span>
   </div>
   <div id="projectbrief">SARibbon wiki</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('class_s_a_ribbon_category_1_1_private_data.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="class_s_a_ribbon_category_1_1_private_data-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">SARibbonCategory::PrivateData类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>ribbon页的代理类 如果需要修改重绘SARibbonCategory，可以通过设置SARibbonCategory::setProxy  
 <a href="#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a3be38c0aa8e4637b616b2560ce9a74af" id="r_a3be38c0aa8e4637b616b2560ce9a74af"><td class="memItemLeft" align="right" valign="top"><a id="a3be38c0aa8e4637b616b2560ce9a74af" name="a3be38c0aa8e4637b616b2560ce9a74af"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>PrivateData</b> (<a class="el" href="class_s_a_ribbon_category.html">SARibbonCategory</a> *p)</td></tr>
<tr class="separator:a3be38c0aa8e4637b616b2560ce9a74af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3db51f42e55bbd59b2e59cce3dfba63d" id="r_a3db51f42e55bbd59b2e59cce3dfba63d"><td class="memItemLeft" align="right" valign="top"><a id="a3db51f42e55bbd59b2e59cce3dfba63d" name="a3db51f42e55bbd59b2e59cce3dfba63d"></a>
<a class="el" href="class_s_a_ribbon_pannel.html">SARibbonPannel</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>addPannel</b> (const QString &amp;title)</td></tr>
<tr class="separator:a3db51f42e55bbd59b2e59cce3dfba63d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3d57caf69c743ec6a6c6c384abf11f7" id="r_ad3d57caf69c743ec6a6c6c384abf11f7"><td class="memItemLeft" align="right" valign="top"><a id="ad3d57caf69c743ec6a6c6c384abf11f7" name="ad3d57caf69c743ec6a6c6c384abf11f7"></a>
<a class="el" href="class_s_a_ribbon_pannel.html">SARibbonPannel</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>insertPannel</b> (const QString &amp;title, int index)</td></tr>
<tr class="separator:ad3d57caf69c743ec6a6c6c384abf11f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af87be147985cbfca8858804467e1dafd" id="r_af87be147985cbfca8858804467e1dafd"><td class="memItemLeft" align="right" valign="top"><a id="af87be147985cbfca8858804467e1dafd" name="af87be147985cbfca8858804467e1dafd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addPannel</b> (<a class="el" href="class_s_a_ribbon_pannel.html">SARibbonPannel</a> *pannel)</td></tr>
<tr class="separator:af87be147985cbfca8858804467e1dafd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89db63c19d5080770990f3b358c489cc" id="r_a89db63c19d5080770990f3b358c489cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a89db63c19d5080770990f3b358c489cc">insertPannel</a> (int index, <a class="el" href="class_s_a_ribbon_pannel.html">SARibbonPannel</a> *pannel)</td></tr>
<tr class="memdesc:a89db63c19d5080770990f3b358c489cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">插入pannel到layout  <br /></td></tr>
<tr class="separator:a89db63c19d5080770990f3b358c489cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d979cfe948ad6f968d32da5e3f1e4cc" id="r_a5d979cfe948ad6f968d32da5e3f1e4cc"><td class="memItemLeft" align="right" valign="top"><a id="a5d979cfe948ad6f968d32da5e3f1e4cc" name="a5d979cfe948ad6f968d32da5e3f1e4cc"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>takePannel</b> (<a class="el" href="class_s_a_ribbon_pannel.html">SARibbonPannel</a> *pannel)</td></tr>
<tr class="separator:a5d979cfe948ad6f968d32da5e3f1e4cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3ae05d8d9f9414b0516ddcb8c3474cb" id="r_ab3ae05d8d9f9414b0516ddcb8c3474cb"><td class="memItemLeft" align="right" valign="top"><a id="ab3ae05d8d9f9414b0516ddcb8c3474cb" name="ab3ae05d8d9f9414b0516ddcb8c3474cb"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>removePannel</b> (<a class="el" href="class_s_a_ribbon_pannel.html">SARibbonPannel</a> *pannel)</td></tr>
<tr class="separator:ab3ae05d8d9f9414b0516ddcb8c3474cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae587405fd9e09d1d14db7957e9410727" id="r_ae587405fd9e09d1d14db7957e9410727"><td class="memItemLeft" align="right" valign="top"><a id="ae587405fd9e09d1d14db7957e9410727" name="ae587405fd9e09d1d14db7957e9410727"></a>
<a class="el" href="class_s_a_ribbon_category.html">SARibbonCategory</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>ribbonCategory</b> ()</td></tr>
<tr class="separator:ae587405fd9e09d1d14db7957e9410727"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4fcfeb9af599e754cb51b1279e9109c" id="r_af4fcfeb9af599e754cb51b1279e9109c"><td class="memItemLeft" align="right" valign="top"><a id="af4fcfeb9af599e754cb51b1279e9109c" name="af4fcfeb9af599e754cb51b1279e9109c"></a>
const <a class="el" href="class_s_a_ribbon_category.html">SARibbonCategory</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>ribbonCategory</b> () const</td></tr>
<tr class="separator:af4fcfeb9af599e754cb51b1279e9109c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1231b1f22b7b50260263efa28f82ace" id="r_ab1231b1f22b7b50260263efa28f82ace"><td class="memItemLeft" align="right" valign="top"><a id="ab1231b1f22b7b50260263efa28f82ace" name="ab1231b1f22b7b50260263efa28f82ace"></a>
QList&lt; <a class="el" href="class_s_a_ribbon_pannel.html">SARibbonPannel</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>pannelList</b> ()</td></tr>
<tr class="separator:ab1231b1f22b7b50260263efa28f82ace"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada4db74ceae9818cc31a79974457ff57" id="r_ada4db74ceae9818cc31a79974457ff57"><td class="memItemLeft" align="right" valign="top"><a id="ada4db74ceae9818cc31a79974457ff57" name="ada4db74ceae9818cc31a79974457ff57"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>updateItemGeometry</b> ()</td></tr>
<tr class="separator:ada4db74ceae9818cc31a79974457ff57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a156ee3352dd8e755f0a4d92e92abce1b" id="r_a156ee3352dd8e755f0a4d92e92abce1b"><td class="memItemLeft" align="right" valign="top"><a id="a156ee3352dd8e755f0a4d92e92abce1b" name="a156ee3352dd8e755f0a4d92e92abce1b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>doWheelEvent</b> (QWheelEvent *event)</td></tr>
<tr class="separator:a156ee3352dd8e755f0a4d92e92abce1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40af26e10f4549c7ecda675a05924c3d" id="r_a40af26e10f4549c7ecda675a05924c3d"><td class="memItemLeft" align="right" valign="top"><a id="a40af26e10f4549c7ecda675a05924c3d" name="a40af26e10f4549c7ecda675a05924c3d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>init</b> (<a class="el" href="class_s_a_ribbon_category.html">SARibbonCategory</a> *c)</td></tr>
<tr class="separator:a40af26e10f4549c7ecda675a05924c3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:ae437755ca4b63ab8e84ca30ca41aae3b" id="r_ae437755ca4b63ab8e84ca30ca41aae3b"><td class="memItemLeft" align="right" valign="top"><a id="ae437755ca4b63ab8e84ca30ca41aae3b" name="ae437755ca4b63ab8e84ca30ca41aae3b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mEnableShowPannelTitle</b> { true }</td></tr>
<tr class="memdesc:ae437755ca4b63ab8e84ca30ca41aae3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否运行pannel的标题栏显示 <br /></td></tr>
<tr class="separator:ae437755ca4b63ab8e84ca30ca41aae3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a621db4eef02d8c28b79c9c3f7f63c867" id="r_a621db4eef02d8c28b79c9c3f7f63c867"><td class="memItemLeft" align="right" valign="top"><a id="a621db4eef02d8c28b79c9c3f7f63c867" name="a621db4eef02d8c28b79c9c3f7f63c867"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>mPannelTitleHeight</b> { 15 }</td></tr>
<tr class="memdesc:a621db4eef02d8c28b79c9c3f7f63c867"><td class="mdescLeft">&#160;</td><td class="mdescRight">pannel的标题栏默认高度 <br /></td></tr>
<tr class="separator:a621db4eef02d8c28b79c9c3f7f63c867"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab241d7c87e7cd6fcf67d78ab576e0337" id="r_ab241d7c87e7cd6fcf67d78ab576e0337"><td class="memItemLeft" align="right" valign="top"><a id="ab241d7c87e7cd6fcf67d78ab576e0337" name="ab241d7c87e7cd6fcf67d78ab576e0337"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mIsContextCategory</b> { false }</td></tr>
<tr class="memdesc:ab241d7c87e7cd6fcf67d78ab576e0337"><td class="mdescLeft">&#160;</td><td class="mdescRight">标记是否是上下文标签 <br /></td></tr>
<tr class="separator:ab241d7c87e7cd6fcf67d78ab576e0337"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42bd42148dc6e1a5ff5f6947a47d7497" id="r_a42bd42148dc6e1a5ff5f6947a47d7497"><td class="memItemLeft" align="right" valign="top"><a id="a42bd42148dc6e1a5ff5f6947a47d7497" name="a42bd42148dc6e1a5ff5f6947a47d7497"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mIsCanCustomize</b> { true }</td></tr>
<tr class="memdesc:a42bd42148dc6e1a5ff5f6947a47d7497"><td class="mdescLeft">&#160;</td><td class="mdescRight">标记是否可以自定义 <br /></td></tr>
<tr class="separator:a42bd42148dc6e1a5ff5f6947a47d7497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73ecb6028852ece71007b5fdd3f76780" id="r_a73ecb6028852ece71007b5fdd3f76780"><td class="memItemLeft" align="right" valign="top"><a id="a73ecb6028852ece71007b5fdd3f76780" name="a73ecb6028852ece71007b5fdd3f76780"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>mPannelSpacing</b> { 0 }</td></tr>
<tr class="memdesc:a73ecb6028852ece71007b5fdd3f76780"><td class="mdescLeft">&#160;</td><td class="mdescRight">pannel的spacing <br /></td></tr>
<tr class="separator:a73ecb6028852ece71007b5fdd3f76780"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb81dd2a77c726ef60f070e63f93d26f" id="r_aeb81dd2a77c726ef60f070e63f93d26f"><td class="memItemLeft" align="right" valign="top"><a id="aeb81dd2a77c726ef60f070e63f93d26f" name="aeb81dd2a77c726ef60f070e63f93d26f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_isUseAnimating</b> { true }</td></tr>
<tr class="memdesc:aeb81dd2a77c726ef60f070e63f93d26f"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认使用动画滚动 <br /></td></tr>
<tr class="separator:aeb81dd2a77c726ef60f070e63f93d26f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22d422c41ab8b1a31b80cca0ceb7e246" id="r_a22d422c41ab8b1a31b80cca0ceb7e246"><td class="memItemLeft" align="right" valign="top"><a id="a22d422c41ab8b1a31b80cca0ceb7e246" name="a22d422c41ab8b1a31b80cca0ceb7e246"></a>
QSize&#160;</td><td class="memItemRight" valign="bottom"><b>mPannelToolButtonSize</b> { 22, 22 }</td></tr>
<tr class="memdesc:a22d422c41ab8b1a31b80cca0ceb7e246"><td class="mdescLeft">&#160;</td><td class="mdescRight">记录pannel的默认图标大小 <br /></td></tr>
<tr class="separator:a22d422c41ab8b1a31b80cca0ceb7e246"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78038fb0447659bc0f1d4d415dcbf7c6" id="r_a78038fb0447659bc0f1d4d415dcbf7c6"><td class="memItemLeft" align="right" valign="top"><a id="a78038fb0447659bc0f1d4d415dcbf7c6" name="a78038fb0447659bc0f1d4d415dcbf7c6"></a>
<a class="el" href="class_s_a_ribbon_pannel.html#a9da35ca039ab4045209d5614e4566219">SARibbonPannel::PannelLayoutMode</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mDefaultPannelLayoutMode</b> { <a class="el" href="class_s_a_ribbon_pannel.html#a9da35ca039ab4045209d5614e4566219ac4aec84893752a28762a45d151fc68db">SARibbonPannel::ThreeRowMode</a> }</td></tr>
<tr class="separator:a78038fb0447659bc0f1d4d415dcbf7c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7726bd24e8c76c0ec7ee58c4236f1d0" id="r_ab7726bd24e8c76c0ec7ee58c4236f1d0"><td class="memItemLeft" align="right" valign="top"><a id="ab7726bd24e8c76c0ec7ee58c4236f1d0" name="ab7726bd24e8c76c0ec7ee58c4236f1d0"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>m_wheelScrollStep</b> { 400 }</td></tr>
<tr class="separator:ab7726bd24e8c76c0ec7ee58c4236f1d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>ribbon页的代理类 如果需要修改重绘SARibbonCategory，可以通过设置SARibbonCategory::setProxy </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a89db63c19d5080770990f3b358c489cc" name="a89db63c19d5080770990f3b358c489cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89db63c19d5080770990f3b358c489cc">&#9670;&#160;</a></span>insertPannel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonCategory::PrivateData::insertPannel </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>index</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_a_ribbon_pannel.html">SARibbonPannel</a> *</td>          <td class="paramname"><span class="paramname"><em>pannel</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>插入pannel到layout </p>
<p>所有的添加操作最终会调用此函数 </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td></td></tr>
    <tr><td class="paramname">pannel</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/src/Qt/SARibbon/src/SARibbonBar/<b>SARibbonCategory.cpp</b></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_s_a_ribbon_category.html">SARibbonCategory</a></li><li class="navelem"><a class="el" href="class_s_a_ribbon_category_1_1_private_data.html">PrivateData</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
